<?php
namespace app\command;


use app\api\service\AliPay;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\Queue;
use think\Request;

class Pay extends Command
{
    protected function configure()
    {
        $this->setName('pay')->setDescription('Here is the remark ');
    }

    protected function execute(Input $input, Output $output)
    {
        $out_trade_no='C30420241106141609105';
        $total_amount='0.01';
        $subject='test';
        $aliPayService = new AliPay();
        dump($aliPayService->pay($out_trade_no,$total_amount,$subject));die;
    }


}
